import { createRouter, createWebHistory } from 'vue-router'
import Home from '../views/Home.vue'
import Cpu  from '../views/cpu/Cpu.vue'
import Memory  from '../views/memory/Memory.vue'
const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'home',
      component: Home,
    },
    {
      path: '/cpu',
      name: 'cpu',
      component: Cpu,
    },
    {
      path: '/memory',
      name: 'memory',
      component: Memory,
    },
  ],
})

export default router
